import json

class ActionManager(object):
    def __init__(self):
        self.actions = []
        self.jsons = []
        self.log = []
    
    def add_json_actions(self,actions=[]):
        self.jsons.extend(actions)
        
    def convert_actions(self):
        self.actions = json.loads(self.json_actions)